/*
 * drv_pwm.h
 *
 *  Created on: Oct 3, 2013
 *      Author: Omar Sevilla
 */

#ifndef DRV_PWM_H_
#define DRV_PWM_H_

#define PWM_RED		1
#define PWM_GREEN	2
#define	PWM_BLUE	3
#define PWM_CYAN	4
#define PWM_YELLOW	5
#define PWM_PURPLE	6
#define PWM_WHITE	7

void init_pwm(void);
void set_pwm(T_UBYTE T_UBYTE_PWMChannel, T_UWORD T_UWORD_PWMValue);
void pwm_fading(T_UBYTE T_UBYTE_FadingValue);
void analog_pwm(void);
void ext_analog_pwm(void);
void secuencial_pwm(T_UBYTE T_UBYTE_SecuencialControl);

#endif /* DRV_PWM_H_ */
